package com.thread;

import lombok.extern.slf4j.Slf4j;

/**
 * 使用Thread 创建新线程
 */
@Slf4j(topic = "c.Test1")
public class threaddemo1 {
    public static void main(String[] args) {
        Thread t=new Thread(){
            @Override
            public void run(){
                log.debug("running therad0");
            }
        };
        String s="";
        t.start();
        log.debug("running main");
    }
}
